<?php

App::uses('AppModel', 'Model');

class CustomerComment extends AppModel {
	
	public $order = "id DESC";
	
	public $validate = array(
		'name' => array(
			'rule' => array('minLength', 1),
			'required' => true,
			'message' => 'Morate uneti ime klijenta.'
		),
		'comment' => array(
			'rule' => array('minLength', 1),
			'required' => true,
			'message' => 'Morate uneti komentar.'
		),
	);
	
}